package com.lanchetech.user.service;


import com.lanchetech.bean.request.PageReq;
import com.lanchetech.bean.response.BasePageResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.bean.vo.CustomPageEditVO;
import com.lanchetech.entity.HipoConfig;
import com.lanchetech.entity.OnePost;
import com.lanchetech.entity.Poster;
import com.lanchetech.entity.WebConfig;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface WebService {

    ResultData<List<WebConfig>> getWebConfigList();

    ResultData<CustomPageEditVO> getCustomPageDetail(Long id);

    ResultData<BasePageResp<Poster>> getPosterPage(PageReq req);

    ResultData<String> getWebConfigByName(String name);

    ResultData<BasePageResp<OnePost>> getOnePostPage(PageReq req);

    ResultData<List<HipoConfig>> getHipoConfigList();
}